print("p" in {"p", "y", 123})
print("p" not in {"p", "y", 123})
print({"p", "y"} >= {"p", "y", 123})

ls = ["p", "p", "y", "y", 123]
s = set(ls)
print(s)
lt = list(s)
print(lt)

A = {"p", "y", 123}
for item in A:
    print(item, end="  ")
print(A)

try:
    while True:
        print(A.pop(), end="  ")
        print('\n')
except:
    pass
print(A)